package com.itxiuyixiu.volunteer.dto;

import com.itxiuyixiu.entity.enums.DHUCollage;
import com.itxiuyixiu.entity.enums.Sex;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author 黄磊
 * @date 2020/6/1
 */
public class StudentSaveParam {
    @NotEmpty(message = "学号不能为空")
    private String studentId;
    @NotEmpty(message = "学生姓名不能为空")
    private String studentName;
    private Sex sex;
    @NotNull(message = "学院不能为空")
    private DHUCollage academy;
    private String studentContact;

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Sex getSex() {
        return sex;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    public DHUCollage getAcademy() {
        return academy;
    }

    public void setAcademy(DHUCollage academy) {
        this.academy = academy;
    }

    public String getStudentContact() {
        return studentContact;
    }

    public void setStudentContact(String studentContact) {
        this.studentContact = studentContact;
    }
}
